.PHONY: all clean run

TargetFile1=epoll
TargetFile2=client

all: ${TargetFile1} ${TargetFile2}
	
${TargetFile1}: ${TargetFile1}.cpp
	g++ -g -o ${TargetFile1} ${TargetFile1}.cpp

${TargetFile2}: ${TargetFile2}.cpp
	g++ -g -o ${TargetFile2} ${TargetFile2}.cpp


clean:
	rm -f *.o ${TargetFile1} ${TargetFile2}
	
run:
	@./${TargetFile1} &
	@./${TargetFile2} 

